package com.ruoyi.sales.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.io.Serializable;
import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel;

/**
* 仓库信息对象 zc_store_info
*
* @author woo
* @date 2024-04-08
*/
@TableName("zc_store_info")
public class ZcStoreInfo implements Serializable
{
private static final long serialVersionUID = 1L;

/** 仓库信息表主键自增，没有业务含义 */
@TableId(value = "store_id",type = IdType.AUTO)
private Long storeId;

/** 仓库名 */
@Excel(name = "仓库名")
private String storeName;

/** 仓库类型 */
@Excel(name = "仓库类型")
private String storeType;

/** 行长 */
@Excel(name = "行长")
private Long line;

/** 列宽 */
@Excel(name = "列宽")
private Long wide;

/** 区域数 */
@Excel(name = "区域数")
private Long regions;

@Excel(name = "真实仓库库存")
private Long trueCount;

@Excel(name = "中转仓库库存")
private Long untrueCount;

/** 状态 */
@Excel(name = "状态")
private String status;

/** 逻辑删除 */
private Long del;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    //产品数
    @TableField(exist = false)
    private String produceCount;

    public Long getTrueCount() {
        return trueCount;
    }

    public void setTrueCount(Long trueCount) {
        this.trueCount = trueCount;
    }

    public Long getUntrueCount() {
        return untrueCount;
    }

    public void setUntrueCount(Long untrueCount) {
        this.untrueCount = untrueCount;
    }

    public String getProduceCount() {
        return produceCount;
    }

    public void setProduceCount(String produceCount) {
        this.produceCount = produceCount;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setStoreId(Long storeId)
{
this.storeId = storeId;
}

public Long getStoreId()
{
return storeId;
}
public void setStoreName(String storeName)
{
this.storeName = storeName;
}

public String getStoreName()
{
return storeName;
}
public void setStoreType(String storeType)
{
this.storeType = storeType;
}

public String getStoreType()
{
return storeType;
}
public void setLine(Long line)
{
this.line = line;
}

public Long getLine()
{
return line;
}
public void setWide(Long wide)
{
this.wide = wide;
}

public Long getWide()
{
return wide;
}
public void setRegions(Long regions)
{
this.regions = regions;
}

public Long getRegions()
{
return regions;
}
public void setStatus(String status)
{
this.status = status;
}

public String getStatus()
{
return status;
}
public void setDel(Long del)
{
this.del = del;
}

public Long getDel()
{
return del;
}

@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("storeId", getStoreId())
.append("storeName", getStoreName())
.append("storeType", getStoreType())
.append("line", getLine())
.append("wide", getWide())
.append("regions", getRegions())
        .append("trueCount",getTrueCount())
        .append("untrueCount",getUntrueCount())
.append("status", getStatus())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.append("createBy", getCreateBy())
.append("updateBy", getUpdateBy())
.append("del", getDel())
.toString();
}
}